﻿package net.wangit.view.chart.util;

import java.awt.Font;

import net.wangit.view.chart.config.ChartSettings;


public class FontUtil {

	public FontUtil() {
	}

	public static final Font getFont(String font, int style, int size) {
		try {
			return new Font(font, style, size);
		} catch (Exception e) {
			return ChartSettings.ALERT_FONT;
		}
	}
}
